import { createSSRApp } from 'vue'
import App from './App.vue'
import pinia from '@/stores/store'

export function createApp() {
  const app = createSSRApp(App)

  // 安装Pinia和插件
  app.use(pinia)

  return { app }
}
